package com.example.stuSysbackend.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 审批表
 * @TableName approval_records
 */
@TableName(value ="approval_records")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ApprovalRecords implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 申请人
     */
    private String applicant;

    /**
     * 文件
     */
    private String file;
    /**
     * 赛事名称
     */
    private String match_name;
    /**
     * 等级
     */
    private Integer level;
    /**
     * 获奖时间
     */
   private String award_time;
    /**
     * 审批时间
     */
    private Date approval_time;
    /**
     * 审批状态
     */
    private Integer status;

    /**
     * 意见
     */
    private String advice;
    /**
     * 审批人
     */
    private String approval_personnel;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}